package com.sky.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @Author：XueShiHao
 * @Date：2025/6/3 星期二 10:31:17
 * @Email:747278007@qq.com
 * @Description: WebSocket的工具配置类，用于注册Websocket的Bean
 **/
@Configuration
public class WebSocketConfiguration {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }

}
